package CrowdCountingMVC.CCModel.Task.ImageTask;

import CrowdCountingMVC.CCModel.CrowdCountingModel;

import java.io.File;

public class LoadWarningImageAndNotifyTask extends LoadImageAndNotifyTask {
    public LoadWarningImageAndNotifyTask(CrowdCountingModel ccm, String imagePathRoot) {
        super(ccm, imagePathRoot);
    }

    @Override
    public void setImageAndNotify(File imageFile) {
        crowdCountingModel.setWarningImageFile(imageFile);
        crowdCountingModel.notifyWarningShowObserver();
    }
}
